package com.ghcnb.jyt.cmn.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.ghcnb.jyt.model.cmn.Dict;
import org.springframework.stereotype.Service;
import org.springframework.web.multipart.MultipartFile;

import javax.servlet.http.HttpServletResponse;
import java.io.UnsupportedEncodingException;
import java.util.List;

@Service
public interface DictService extends IService<Dict> {


    List<Dict> findByParentId(Long parentId);

    //导出数据字典接口
    void exportDictData(HttpServletResponse response);

    void importDictData(MultipartFile file);

}
